package com.mes.cloud.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 字典表
 *
 * @author Mr.zhang
 * @version 2019-07-30 13:43:19
 * @email 407892370@qq.com
 */
@Data
public class SysDictionaryPageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "当前页不能为空！")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "每页条数不能为空！")
    private int pageSize;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;

    @ApiModelProperty(value = "字典编码", required = false)
    private String code;

    @ApiModelProperty(value = "模块树id", required = false)
    private String moduleTreeId;

    @ApiModelProperty(value = "代码和显示", required = false)
    private String queryString;
}
